package com.sqx.modules.agentUserMoney.entity;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * 代理钱包
 *
 * @author wuChang
 * @since 2024-03-22
 */
@Data
@TableName("agent_user_money")
public class AgentUserMoney implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 代理钱包id
     */
    @ApiModelProperty("代理钱包id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long sysUserId;

    /**
     * 金额
     */
    @ApiModelProperty("金额")
    private BigDecimal money;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
